package com.cqjtu.eecs.mapper;

import com.cqjtu.eecs.entity.GraduateRequirementTemplate;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.cqjtu.eecs.entity.vo.GraduateRequirementDetailVo;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 * 毕业要求模板 Mapper 接口
 * </p>
 *
 * @author
 * @since 2022-02-28
 */
@Mapper
@Repository
public interface GraduateRequirementTemplateMapper extends BaseMapper<GraduateRequirementTemplate> {

    /**
     * 根据专业代码和版本编号查询毕业要求
     * @param majorCode
     * @param versionCode
     * @return
     */
    List<GraduateRequirementDetailVo> getGraduateRequirementDetailByMajorCodeAndVersionCode(String majorCode, String versionCode);
}
